placeview: Don't leak the file enumerator
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 Nov 2016 18:50:25 +0000 (13:50 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 17 Nov 2016 18:50:25 +0000 (13:50 -0500)
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774634

gtk/gtkplacesview.c

index 17ed7bd30634451052a71e5b00d4d83c15b78a34..ceee750d11d0d9381efdf61c1efec993ebbbaf0c 100644 (file)
@@ -1010,6 +1010,7 @@ network_enumeration_finished (GObject      *source_object,
                                           priv->networks_fetching_cancellable,
                                           network_enumeration_next_files_finished,
                                           user_data);
+      g_object_unref (enumerator);
     }
 }